package com.ccloud.api.motorfactory.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ccloud.api.motorfactory.domain.MPartType;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 货品类型表 服务类
 * </p>
 *
 * @author chentl
 * @since 2022-04-09
 */
public interface IMPartTypeService extends IService<MPartType> {

    /*
     * @Author chentl
     * @Description 分頁列表查詢
     * @Date 17:27 2022/4/10
     * @Param [page, partType]
     * @Return com.baomidou.mybatisplus.core.metadata.IPage<com.ccloud.api.motorfactory.domain.MPartType>
     **/
    IPage<MPartType> selectPage(@Param("page") Page<MPartType> page, @Param("partType") MPartType partType);

    Integer maxVal();

    List<MPartType> getMap();
}
